package com.technology.education.ui.common.score_record

import com.technology.education.base.BaseRecyclerTopBarFragment

/**
 *@author:create by BZY
 *Date: 2022/3/29 15
 *  积分记录详情-时长记录详情
 * type==0 积分记录详情
 * type==1 时长记录详情
 */
class ScoreRecordDetailFragment : BaseRecyclerTopBarFragment<ScoreRecordDetailViewModel>() {
    override fun initViews() {
        mViewModel.type = arguments?.getInt("type") ?: 0
        mViewModel.id = arguments?.getString("id") ?: ""
        setTitle(if (mViewModel.type == 0) "积分记录" else "时长记录")
    }

    override fun lazyLoadData() {
        loading()
    }

    override fun createObserver() {

    }
}